package com.itzb.asone.fileserver.model;

import com.itzb.asone.mybatis.IModel;

import java.util.ArrayList;
import java.util.List;

public class FSResult  implements IModel {
	
	/**
	 * 是否正确
	 */
	private boolean isSuccess = false;
	/**
	 * 返回码
	 */
	private String id;
	/**
	 * 返回码
	 */
	private String code;
	/**
	 * 返回信息
	 */
	private String message;
	/**
	 * 返回文件信息
	 */
	private List<FSFileInfo> list = new ArrayList<FSFileInfo>();
	
	
	
	
	
	
	
	
	public boolean getSuccess() {
		return isSuccess;
	}
	
	public void isSuccess() {
		isSuccess =  true;
	}
	public void isFailed() {
		isSuccess =  false;
	}
	public void setSuccess(boolean isSuccess) {
		this.isSuccess = isSuccess;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public List<FSFileInfo> getList() {
		return list;
	}
	public void setList(List<FSFileInfo> list) {
		this.list = list;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
}
